<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta http-equiv="Content-Style-Type" content="text/css"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta http-equiv="imagetoolbar" content="no"/>

    <meta name="viewport"
          content="user-scalable=no, initial-scale=0.5, minimum-scale=0.5, maximum-scale=2.0,width=device-width, height=device-height"/>
    <meta http-equiv="no-cache">
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="content-type" content="no-cache, must-revalidate"/>
    <meta http-equiv="expires" content="-1"/>


    <link rel="stylesheet" type="text/css" href="/plugins/formlayout/handsontable.full.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/bpmfont.css"/>
    <link type="text/css" href="/xui/appearance/webflat/theme.css" rel="stylesheet">
    <script type="text/javascript" src="/xui/js/ThirdParty/hammer.js"></script>
    <script type="text/javascript" src="/xui/js/xui.js"></script>
    <script type="text/javascript" src="/xui/js/APICaller.js"></script>
    <script type="text/javascript" src="/xui/js/MQTT.js"></script>
    <script type="text/javascript" src="/xui/js/DataBinder.js"></script>
    <script type="text/javascript" src="/xui/js/Event.js"></script>
    <script type="text/javascript" src="/xui/js/CSS.js"></script>
    <script type="text/javascript" src="/xui/js/Dom.js"></script>
    <script type="text/javascript" src="/xui/js/Template.js"></script>
    <script type="text/javascript" src="/xui/js/DragDrop.js"></script>
    <script type="text/javascript" src="/xui/js/Cookies.js"></script>
    <script type="text/javascript" src="/xui/js/History.js"></script>
    <script type="text/javascript" src="/xui/js/Tips.js"></script>


    <script type="text/javascript" src="/xui/js/Module.js"></script>
    <script type="text/javascript" src="/xui/js/XML.js"></script>
    <script type="text/javascript" src="/xui/js/XMLRPC.js"></script>
    <script type="text/javascript" src="/xui/js/SOAP.js"></script>
    <script type="text/javascript" src="/xui/js/ModuleFactory.js"></script>
    <script type="text/javascript" src="/xui/js/Debugger.js"></script>
    <script type="text/javascript" src="/xui/js/Date.js"></script>
    <script type="text/javascript" src="/xui/Locale/en.js"></script>
    <script type="text/javascript" src="/xui/js/UI.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Image.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Flash.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Audio.js"></script>
    <script type="text/javascript" src="/xui/js/UI/FileUpload.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Video.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Tensor.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Camera.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Resizer.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Block.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Label.js"></script>
    <script type="text/javascript" src="/xui/js/UI/ProgressBar.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Slider.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Input.js"></script>
    <script type="text/javascript" src="/xui/js/UI/CheckBox.js"></script>
    <script type="text/javascript" src="/xui/js/UI/HiddenInput.js"></script>
    <script type="text/javascript" src="/xui/js/UI/RichEditor.js"></script>
    <script type="text/javascript" src="/xui/js/UI/ComboInput.js"></script>
    <script type="text/javascript" src="/xui/js/UI/ColorPicker.js"></script>
    <script type="text/javascript" src="/xui/js/UI/DatePicker.js"></script>
    <script type="text/javascript" src="/xui/js/UI/TimePicker.js"></script>
    <script type="text/javascript" src="/xui/js/UI/List.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Gallery.js"></script>
    <script type="text/javascript" src="/xui/js/UI/ButtonLayout.js"></script>
    <script type="text/javascript" src="/xui/js/UI/TitleBlock.js"></script>
    <script type="text/javascript" src="/xui/js/UI/ContentBlock.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Panel.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Group.js"></script>
    <script type="text/javascript" src="/xui/js/UI/PageBar.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Tabs.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Stacks.js"></script>
    <script type="text/javascript" src="/xui/js/UI/ButtonViews.js"></script>
    <script type="text/javascript" src="/xui/js/UI/MTabs.js"></script>
    <script type="text/javascript" src="/xui/js/UI/RadioBox.js"></script>
    <script type="text/javascript" src="/xui/js/UI/StatusButtons.js"></script>
    <script type="text/javascript" src="/xui/js/UI/TreeBar.js"></script>
    <script type="text/javascript" src="/xui/js/UI/TreeView.js"></script>
    <script type="text/javascript" src="/xui/js/UI/MTreeView.js"></script>
    <script type="text/javascript" src="/xui/js/UI/PopMenu.js"></script>
    <script type="text/javascript" src="/xui/js/UI/MenuBar.js"></script>
    <script type="text/javascript" src="/xui/js/UI/ToolBar.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Layout.js"></script>
    <script type="text/javascript" src="/xui/js/UI/TreeGrid.js"></script>
    <script type="text/javascript" src="/xui/js/UI/MTreeGrid.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Dialog.js"></script>
    <script type="text/javascript" src="/xui/js/UI/MDialog.js"></script>
    <script type="text/javascript" src="/xui/js/UI/FormLayout.js"></script>
    <script type="text/javascript" src="/xui/js/UI/MFormLayout.js"></script>
    <script type="text/javascript" src="/xui/js/UI/FoldingTabs.js"></script>
    <script type="text/javascript" src="/xui/js/UI/FoldingList.js"></script>
    <script type="text/javascript" src="/xui/js/UI/Opinion.js"></script>
    <script type="text/javascript" src="/xui/js/ThirdParty/raphael.js"></script>
    <script type="text/javascript" src="/xui/js/svg.js"></script>
    <script type="text/javascript" src="/xui/js/UI/SVGPaper.js"></script>
    <script type="text/javascript" src="/xui/js/UI/FusionChartsXT.js"></script>
    <script type="text/javascript" src="/xui/js/UI/ECharts.js"></script>
    <script type="text/javascript" src="/xui/js/Coder.js"></script>
    <script type="text/javascript" src="/xui/js/Module/JSONEditor.js"></script>

    <script type="text/javascript" src="RAD/xuiconf.js"></script>
    <script type="text/javascript" src="/xui/Locale/cn.js"></script>
    <script type="text/javascript" src="/RAD/conf.js"></script>
    <script type="text/javascript" src="/RAD/CodeEditor.js"></script>
    <script type="text/javascript" src="/RAD/ClassTool.js"></script>
    <script type="text/javascript" src="/RAD/JSEditor.js"></script>
    <script type="text/javascript" src="/RAD/expression/CodeEditor.js"></script>
    <script type="text/javascript" src="/RAD/expression/JavaEditor.js"></script>

    <title>${projectName}预览界面</title>
</head>
<script type="text/javascript">
    var args = xui.getUrlParams(),
            onEnd = function () {
                xui('loading').remove();
                this.initData();
                this._fireEvent('afterShow');
            };
    xui.launch('${className}', onEnd, 'cn', args && args.theme || 'default');


    $E = xui.execExpression;
    $BPD = {
        open: function () {
            $E('$BPD.open()')
        },


        close: function () {
            $E('$BPD.close()')
        }
    }

    $ESD = {
        open: function (url, params) {
            var paramArr = params | {};
            if (url) {
                paramArr.url = url;
            }
            $E('$ESD.open()', paramArr)
        },
        screen: function () {
            var paramArr = {projectName: "${projectName}"};
            paramArr.url = window.location.href;
            $E('$ESD.screen()', paramArr)
        },
        reload: function (url, params) {
            var paramArr = params || {projectName: "${projectName}"};
            paramArr.handleId = window.handleId;
            if (url) {
                paramArr.url = url;

            }
            $E('$ESD.reload()', paramArr)
        },

        quit: function () {
            $E('$BPD.quit()')
        },
        logout: function () {
            $E('$BPD.logout()')
        }
    }

</script>